
<?php if(!isset($_GET['p'])){ $_GET['p'] = 1;}?>


   
            <volist name="all" id="depart" key="i">
                <div class="row" style="padding:10px 0; margin:0; position:relative; border-bottom:1px dashed #C8C8C8;">
                
                
                
                <if condition="intval($_GET['p']) == 1">
                    <switch name="i" >
                        <case value="1"><div style="height:22px;width:100px;background-color:#E74F20;position:absolute;top:25px;border-radius:0 10px 10px 0"></div></case>
                        <case value="2"><div style="height:22px;width:100px;background-color:#E7C420;position:absolute;top:25px;border-radius:0 10px 10px 0"></div></case>
                        <case value="3"><div style="height:22px;width:100px;background-color:#77C59D;position:absolute;top:25px;border-radius:0 10px 10px 0"></div></case>
                        <default />
                    </switch>
                    </if>
                    
                    <div class="col-xs-2" style="height:50px;line-height:50px;width:100px;text-align:center">
                        <span class="small"
                        <if condition="intval($_GET['p']) == 1">
                        <switch name="i" >
                            <case value="1">style="color:#fff"</case>
                            <case value="2">style="color:#fff"</case>
                            <case value="3">style="color:#fff"</case>
                            <default />style="color:#000"
                        </switch></if>>
                        NO.{$i+(intval($_GET['p']-1) * 5)}
                        </span>
                    </div>
                    <div class="col-xs-7" style="height:50px; width:auto;">
                        <switch name="i">
                            <case value="1">
                                <div style="width:30px;height:19px;background-image:url(/Public/Intesys/AdminX/images/top.png);background-size:30px 19px;position:absolute;top:-8px;left:20px;z-index:1"></div>
                            </case>
                        </switch>
                        <img  class="thumb"  src="<empty name="depart['img_url']">__PUBLIC__/timg.jpg<else/>{$depart['img_url']}</empty>" alt="" style="height:40px;width:40px;vertical-align: top;margin-top:5px;margin-right:0">
                        <div style="display: inline-block;">
                            
                            <p  style="color:#65CEA7">　<notempty name="depart.name">{$depart.name}<else />{$depart.nickname}</notempty></p><p>　{$depart.pname}</p>
                        </div>
                    </div>
                    <div class="col-xs-3" style="height:50px; width:auto; float:right;line-height:50px">
            <span class="pull-right">
                <a href="#" class="small" style="color:#65CEA7; font-size:18px;">{$depart.sum}</a>
            </span>
                    </div>
                </div>
            </volist>
        



<style>
    #teamdatalist .col-lg-6 .panel{
        background-color:#fff;border:1px solid #CACACA;border-radius:2px;padding-left:0;padding-right:0;
    }
    #teamdatalist .col-lg-6 .panel-heading{
        border-bottom:1px solid rgba(0, 0, 0, 0.2);
        FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#FDFDFD,endColorStr=#E9E9E9); /*IE 6 7 8*/
        background: -ms-linear-gradient(top, #FDFDFD,  #E9E9E9);/* IE 10 */
        background:-moz-linear-gradient(top,#FDFDFD,#E9E9E9);/*moz*/
        background: -webkit-gradient(linear, 0% 0%, 0% 100%,from(#FDFDFD), to(#E9E9E9));      /* Safari 4-5, Chrome 1-9*/
        background: -webkit-linear-gradient(top, #FDFDFD, #E9E9E9);   /*Safari5.1 Chrome 10+*/
        background: -o-linear-gradient(top, #FDFDFD, #E9E9E9);  /*Opera 11.10+*/
    }
    #teamdatalist .col-lg-6 .panel-body .row{
        padding:5px; margin:0;border-bottom:1px solid #cacaca;padding-left:0;padding-right:0;
    }
    /*#teamdatalist .col-lg-6 .panel-body .row:last-child{*/
        /*border-bottom:none;*/
    /*}*/
    @media screen and (max-width: 1100px) { /*当屏幕尺寸小于1100px时，应用下面的CSS样式*/
        #teamdatalist .panel .panel-body .pull-left img{
            width:40px;height:40px;
        }
    }
    @media screen and (max-width: 1900px) { /*当屏幕尺寸小于1900px时，应用下面的CSS样式*/
        #teamdatalist .panel .panel-body .pull-left img{
            width:80px;height:80px;
        }
    }



    .radio.square-red.single-row{margin-bottom:5px; margin-top:5px;}
    .table-custom{ border:1px solid #ccc; border-collapse:separate; border-radius:5px; overflow:hidden;}
    .table-custom tr{ color:#666;}
    .table-custom thead th{ padding:14px !important; background:linear-gradient(to bottom,#fdfdfd 30%,#e9e9e9); text-align:center;}
    .table-custom tr td{line-height: 36px !important;padding-top: 15px !important;padding-left: 15px !important; border-top:none !important;}
    .table-custom tr img{ border:1px solid #ccc; margin-right:5px;}
    .table-custom tr .social-links{ margin:5px 0;}

    .whitebg{background-color:#fff}
    .eff0f4bg{background-color: #eff0f4}
    .toppanel{border-radius:4px 4px 0 0;}
    .botpanel{border-radius:0 0 4px 4px;}
    .midpanel{border-radius:0;}
    .pos-default{background-color: #65CEA7;color:#fff!important;border:none;margin-bottom:5px;border:1px solid #65CEA7;}
    .pos-checked,.pos-checked:visited,.pos:hover,.pos:visited{background: #353f4f!important;color: #FFF!important;border:1px solid #353f4f;}

</style>




<script>
    //往积分排名页面写入内容（积分来源）
    $('#intesysfrom').html("<volist name='intesysfrom' id='if'>
            <li style='list-style-type:none'><a href='{:U('Integral_log/index',array('member_id'=>$thisman))}' style='text-decoration:none'><notempty name="if['fname']">{$if.fname}<else />其　　他</notempty>　　{$if.sum}</a></li>
    </volist>");
</script>


